package com.ljh.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Singer implements Serializable {
    private Integer singerId;
    private String singerName;
    private String singerSex;

    @JsonFormat(pattern = "yyyy-MM-dd")
    private String create_time;
    private String singerAddress;
    private String singerIndroduce;
    private String singerPhoto;
}
